<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    public $timestamps = false;
    /**
     * 获取查询字段
     *
     * @var array
     */
    protected $fillable = [
        'id', 'name', 'email', 'email_verified_at', 'password', 'remember_token', 'created_at', 'updated_at', 'openid',
        'phone', 'id_card', 'id_card_positive', 'id_card_contrary', 'identity', 'alipay_account', 'alipay_name', 'bank_name',
        'bank_number', 'bank_type', 'opening_bank', 'issue_orders', 'serial_number', 'partner_name', 'partner_phone', 'partner_address',
        'is_partner'
    ];

    // 表示 create_time 是一个日期字段
    protected $dates = [];

    /**
     * 隐藏字段
     *
     * @var array
     */
    protected $hidden = [];
}
